<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the V2NIMChatroomService class from the nim_core_v2 library, for the Dart programming language.">
  <title>V2NIMChatroomService class - nim_core_v2 library - Dart API</title>


  
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" rel="stylesheet">
  
  <link rel="stylesheet" href="../static-assets/github.css?v1">
  <link rel="stylesheet" href="../static-assets/styles.css?v1">
  <link rel="icon" href="../static-assets/favicon.png?v1">
  
</head>

<body data-base-href="../" data-using-base-href="false" class="light-theme">
<div id="overlay-under-drawer"></div>
<header id="title">
  <span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="../index.html">nim_core_v2</a></li>
    <li><a href="../nim_core_v2/nim_core_v2-library.html">nim_core.dart</a></li>
    <li class="self-crumb">V2NIMChatroomService class</li>
  </ol>
  <div class="self-name">V2NIMChatroomService</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
  <div class="toggle" id="theme-button" title="Toggle brightness">
    <label for="theme">
      <input type="checkbox" id="theme" value="light-theme">
      <span id="dark-theme-button" class="material-symbols-outlined">
        dark_mode
      </span>
      <span id="light-theme-button" class="material-symbols-outlined">
        light_mode
      </span>
    </label>
  </div>
</header>
<main>
<div
    id="dartdoc-main-content"
    class="main-content"
    data-above-sidebar="nim_core_v2&#47;nim_core_v2-library-sidebar.html"
    data-below-sidebar="nim_core_v2&#47;V2NIMChatroomService-class-sidebar.html">
    <div>
<h1><span class="kind-class">V2NIMChatroomService</span> class 
 
</h1></div>

    



    
  <section class="summary offset-anchor" id="constructors">
    <h2>Constructors</h2>
    <dl class="constructor-summary-list">
        <dt id="V2NIMChatroomService" class="callable">
          <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/V2NIMChatroomService.html">V2NIMChatroomService</a></span><span class="signature">(<span class="parameter" id="-param-instanceId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">instanceId</span></span>)</span>
        </dt>
        <dd>
          
        </dd>
    </dl>
  </section>
    
  <section
      class="summary offset-anchor"
      id="instance-properties">
    <h2>Properties</h2>
    <dl class="properties">
        <dt id="hashCode" class="property inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">hashCode</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
  

</dt>
<dd class="inherited">
  The hash code for this object.
  <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>

</dd>

        <dt id="instanceId" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/instanceId.html">instanceId</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="onChatroomChatBannedUpdated" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onChatroomChatBannedUpdated.html">onChatroomChatBannedUpdated</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ChatroomChatBannedUpdatedEvent-class.html">ChatroomChatBannedUpdatedEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  聊天室禁言状态更新
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onChatroomInfoUpdated" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onChatroomInfoUpdated.html">onChatroomInfoUpdated</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ChatroomInfoUpdatedEvent-class.html">ChatroomInfoUpdatedEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  聊天室信息更新
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onChatroomMemberEnter" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onChatroomMemberEnter.html">onChatroomMemberEnter</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ChatroomMemberEnterEvent-class.html">ChatroomMemberEnterEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  聊天室成员进入
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onChatroomMemberExit" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onChatroomMemberExit.html">onChatroomMemberExit</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ChatroomMemberExitEvent-class.html">ChatroomMemberExitEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  聊天室成员离开
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onChatroomMemberInfoUpdated" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onChatroomMemberInfoUpdated.html">onChatroomMemberInfoUpdated</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ChatroomMemberInfoUpdatedEvent-class.html">ChatroomMemberInfoUpdatedEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  成员信息更新
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onChatroomMemberRoleUpdated" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onChatroomMemberRoleUpdated.html">onChatroomMemberRoleUpdated</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ChatroomMemberRoleUpdatedEvent-class.html">ChatroomMemberRoleUpdatedEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  成员角色更新
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onChatroomTagsUpdated" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onChatroomTagsUpdated.html">onChatroomTagsUpdated</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ChatroomTagsUpdatedEvent-class.html">ChatroomTagsUpdatedEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  更新角色标签
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onMessageRevokedNotification" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onMessageRevokedNotification.html">onMessageRevokedNotification</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ChatroomMessageRevokedNotificationEvent-class.html">ChatroomMessageRevokedNotificationEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  消息撤回回调
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onReceiveMessages" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onReceiveMessages.html">onReceiveMessages</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ChatroomReceiveMessagesEvent-class.html">ChatroomReceiveMessagesEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  收到新消息
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onSelfChatBannedUpdated" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onSelfChatBannedUpdated.html">onSelfChatBannedUpdated</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/SelfChatBannedUpdatedEvent-class.html">SelfChatBannedUpdatedEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  自己的禁言状态变更
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onSelfTempChatBannedUpdated" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onSelfTempChatBannedUpdated.html">onSelfTempChatBannedUpdated</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/SelfTempChatBannedUpdatedEvent-class.html">SelfTempChatBannedUpdatedEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  自己的临时禁言状态变更
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onSendMessage" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onSendMessage.html">onSendMessage</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ChatroomSendMessageEvent-class.html">ChatroomSendMessageEvent</a></span>&gt;</span></span>
  

</dt>
<dd>
  本端发送消息状态回调
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onSendMessageProgress" class="property">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/onSendMessageProgress.html">onSendMessageProgress</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMSendMessageProgress-class.html">NIMSendMessageProgress</a></span>&gt;</span></span>
  

</dt>
<dd>
  本端发送消息进度回调
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="runtimeType" class="property inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Type-class.html">Type</a></span>
  

</dt>
<dd class="inherited">
  A representation of the runtime type of the object.
  <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>

</dd>

    </dl>
  </section>

    
  <section
      class="summary offset-anchor"
      id="instance-methods">
    <h2>Methods</h2>
    <dl class="callables">
        <dt id="addChatroomListener" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/addChatroomListener.html">addChatroomListener</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  添加聊天室监听
  

</dd>

        <dt id="cancelMessageAttachmentUpload" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/cancelMessageAttachmentUpload.html">cancelMessageAttachmentUpload</a></span><span class="signature">(<wbr><span class="parameter" id="cancelMessageAttachmentUpload-param-message"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomMessage-class.html">V2NIMChatroomMessage</a></span> <span class="parameter-name">message</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  取消聊天室消息附件上传
  

</dd>

        <dt id="getMemberByIds" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/getMemberByIds.html">getMemberByIds</a></span><span class="signature">(<wbr><span class="parameter" id="getMemberByIds-param-accountIds"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">accountIds</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/V2NIMChatroomMember-class.html">V2NIMChatroomMember</a></span>&gt;</span></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  根据账号列表查询成员信息
  

</dd>

        <dt id="getMemberCountByTag" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/getMemberCountByTag.html">getMemberCountByTag</a></span><span class="signature">(<wbr><span class="parameter" id="getMemberCountByTag-param-tag"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">tag</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  查询某个标签下的成员人数
  

</dd>

        <dt id="getMemberListByOption" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/getMemberListByOption.html">getMemberListByOption</a></span><span class="signature">(<wbr><span class="parameter" id="getMemberListByOption-param-queryOption"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomMemberQueryOption-class.html">V2NIMChatroomMemberQueryOption</a></span> <span class="parameter-name">queryOption</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/V2NIMChatroomMemberListResult-class.html">V2NIMChatroomMemberListResult</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  分页获取聊天室成员列表
  

</dd>

        <dt id="getMemberListByTag" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/getMemberListByTag.html">getMemberListByTag</a></span><span class="signature">(<wbr><span class="parameter" id="getMemberListByTag-param-option"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomTagMemberOption-class.html">V2NIMChatroomTagMemberOption</a></span> <span class="parameter-name">option</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/V2NIMChatroomMemberListResult-class.html">V2NIMChatroomMemberListResult</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  根据tag查询群成员列表
  

</dd>

        <dt id="getMessageList" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/getMessageList.html">getMessageList</a></span><span class="signature">(<wbr><span class="parameter" id="getMessageList-param-option"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomMessageListOption-class.html">V2NIMChatroomMessageListOption</a></span> <span class="parameter-name">option</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/V2NIMChatroomMessage-class.html">V2NIMChatroomMessage</a></span>&gt;</span></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  查询历史消息
  

</dd>

        <dt id="getMessageListByTag" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/getMessageListByTag.html">getMessageListByTag</a></span><span class="signature">(<wbr><span class="parameter" id="getMessageListByTag-param-messageOption"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomTagMessageOption-class.html">V2NIMChatroomTagMessageOption</a></span> <span class="parameter-name">messageOption</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/V2NIMChatroomMessage-class.html">V2NIMChatroomMessage</a></span>&gt;</span></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  根据标签查询消息列表
  

</dd>

        <dt id="kickMember" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/kickMember.html">kickMember</a></span><span class="signature">(<wbr><span class="parameter" id="kickMember-param-accountId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">accountId</span>, {</span><span class="parameter" id="kickMember-param-notificationExtension"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">notificationExtension</span></span>})
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  踢出聊天室成员
  

</dd>

        <dt id="noSuchMethod" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
    <span class="returntype parameter">&#8594; dynamic</span>
  </span>
  

</dt>
<dd class="inherited">
  Invoked when a nonexistent method or property is accessed.
  <div class="features"><span class="feature">inherited</span></div>

</dd>

        <dt id="removeChatroomListener" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/removeChatroomListener.html">removeChatroomListener</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  移除聊天室监听
  

</dd>

        <dt id="sendMessage" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/sendMessage.html">sendMessage</a></span><span class="signature">(<wbr><span class="parameter" id="sendMessage-param-message"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomMessage-class.html">V2NIMChatroomMessage</a></span> <span class="parameter-name">message</span>, </span><span class="parameter" id="sendMessage-param-params"><span class="type-annotation"><a href="../nim_core_v2/V2NIMSendChatroomMessageParams-class.html">V2NIMSendChatroomMessageParams</a></span> <span class="parameter-name">params</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/V2NIMSendChatroomMessageResult-class.html">V2NIMSendChatroomMessageResult</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  发送聊天室消息
  

</dd>

        <dt id="setMemberBlockedStatus" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/setMemberBlockedStatus.html">setMemberBlockedStatus</a></span><span class="signature">(<wbr><span class="parameter" id="setMemberBlockedStatus-param-accountId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">accountId</span>, </span><span class="parameter" id="setMemberBlockedStatus-param-blocked"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">blocked</span>, {</span><span class="parameter" id="setMemberBlockedStatus-param-notificationExtension"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">notificationExtension</span></span>})
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置聊天室成员黑名单状态
  

</dd>

        <dt id="setMemberChatBannedStatus" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/setMemberChatBannedStatus.html">setMemberChatBannedStatus</a></span><span class="signature">(<wbr><span class="parameter" id="setMemberChatBannedStatus-param-accountId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">accountId</span>, </span><span class="parameter" id="setMemberChatBannedStatus-param-chatBanned"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">chatBanned</span>, {</span><span class="parameter" id="setMemberChatBannedStatus-param-notificationExtension"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">notificationExtension</span></span>})
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置成员禁言状态
  

</dd>

        <dt id="setMemberTempChatBanned" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/setMemberTempChatBanned.html">setMemberTempChatBanned</a></span><span class="signature">(<wbr><span class="parameter" id="setMemberTempChatBanned-param-accountId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">accountId</span>, </span><span class="parameter" id="setMemberTempChatBanned-param-tempChatBannedDuration"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">tempChatBannedDuration</span>, </span><span class="parameter" id="setMemberTempChatBanned-param-notificationEnabled"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">notificationEnabled</span>, {</span><span class="parameter" id="setMemberTempChatBanned-param-notificationExtension"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">notificationExtension</span></span>})
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置成员临时禁言状态
  

</dd>

        <dt id="setTempChatBannedByTag" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/setTempChatBannedByTag.html">setTempChatBannedByTag</a></span><span class="signature">(<wbr><span class="parameter" id="setTempChatBannedByTag-param-params"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomTagTempChatBannedParams-class.html">V2NIMChatroomTagTempChatBannedParams</a></span> <span class="parameter-name">params</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置聊天室标签临时禁言
  

</dd>

        <dt id="toString" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">toString</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  </span>
  

</dt>
<dd class="inherited">
  A string representation of this object.
  <div class="features"><span class="feature">inherited</span></div>

</dd>

        <dt id="updateChatroomInfo" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/updateChatroomInfo.html">updateChatroomInfo</a></span><span class="signature">(<wbr><span class="parameter" id="updateChatroomInfo-param-updateParams"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomUpdateParams-class.html">V2NIMChatroomUpdateParams</a></span> <span class="parameter-name">updateParams</span>, </span><span class="parameter" id="updateChatroomInfo-param-antispamConfig"><span class="type-annotation"><a href="../nim_core_v2/NIMAntispamConfig-class.html">NIMAntispamConfig</a>?</span> <span class="parameter-name">antispamConfig</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  更新聊天室信息
  

</dd>

        <dt id="updateChatroomLocationInfo" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/updateChatroomLocationInfo.html">updateChatroomLocationInfo</a></span><span class="signature">(<wbr><span class="parameter" id="updateChatroomLocationInfo-param-locationConfig"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomLocationConfig-class.html">V2NIMChatroomLocationConfig</a></span> <span class="parameter-name">locationConfig</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  更新坐标信息
  

</dd>

        <dt id="updateChatroomTags" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/updateChatroomTags.html">updateChatroomTags</a></span><span class="signature">(<wbr><span class="parameter" id="updateChatroomTags-param-updateParams"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomTagsUpdateParams-class.html">V2NIMChatroomTagsUpdateParams</a></span> <span class="parameter-name">updateParams</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  更新聊天室tag信息
  

</dd>

        <dt id="updateMemberRole" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/updateMemberRole.html">updateMemberRole</a></span><span class="signature">(<wbr><span class="parameter" id="updateMemberRole-param-accountId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">accountId</span>, </span><span class="parameter" id="updateMemberRole-param-updateParams"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomMemberRoleUpdateParams-class.html">V2NIMChatroomMemberRoleUpdateParams</a></span> <span class="parameter-name">updateParams</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  更新聊天室成员角色
  

</dd>

        <dt id="updateSelfMemberInfo" class="callable">
  <span class="name"><a href="../nim_core_v2/V2NIMChatroomService/updateSelfMemberInfo.html">updateSelfMemberInfo</a></span><span class="signature">(<wbr><span class="parameter" id="updateSelfMemberInfo-param-updateParams"><span class="type-annotation"><a href="../nim_core_v2/V2NIMChatroomSelfMemberUpdateParams-class.html">V2NIMChatroomSelfMemberUpdateParams</a></span> <span class="parameter-name">updateParams</span>, </span><span class="parameter" id="updateSelfMemberInfo-param-antispamConfig"><span class="type-annotation"><a href="../nim_core_v2/NIMAntispamConfig-class.html">NIMAntispamConfig</a>?</span> <span class="parameter-name">antispamConfig</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  更新聊天室信息
  

</dd>

    </dl>
  </section>
    
  <section
      class="summary offset-anchor inherited"
      id="operators">
    <h2>Operators</h2>
    <dl class="callables">
        <dt id="operator ==" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></span> <span class="parameter-name">other</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
  </span>
  

</dt>
<dd class="inherited">
  The equality operator.
  <div class="features"><span class="feature">inherited</span></div>

</dd>

    </dl>
  </section>
    
    
    

  </div> <!-- /.main-content -->
  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <!-- The search input and breadcrumbs below are only responsively visible at low resolutions. -->
<header id="header-search-sidebar" class="hidden-l">
  <form class="search-sidebar" role="search">
    <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>
<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
    <li><a href="../index.html">nim_core_v2</a></li>
    <li><a href="../nim_core_v2/nim_core_v2-library.html">nim_core_v2</a></li>
    <li class="self-crumb">V2NIMChatroomService class</li>
</ol>

    <h5>nim_core_v2 library</h5>
    <div id="dartdoc-sidebar-left-content"></div>
  </div>
  <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->
</main>
<footer>
  <span class="no-break">
    nim_core_v2
      10.9.2-ohos-beta
  </span>
  
</footer>


<script src="../static-assets/highlight.pack.js?v1"></script>
<script src="../static-assets/docs.dart.js"></script>

</body>
</html>

